diary 'sourcedata/eeg/sub-s01.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P01_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P01_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P01_f_3.bdf', ...
          'sourcedata/eeg/IC_trn_P01_f_4.bdf', ...
          'sourcedata/eeg/IC_trn_P01_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P01_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P01_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P01_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s01_task-faceFO_eeg.set');
         
diary 'sourcedata/eeg/sub-s02.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P02_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P02_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P02_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P02_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P02_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P02_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P02_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P02_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s02_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s03.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P03_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P03_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P03_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P03_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P03_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P03_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P03_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P03_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s03_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s04.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P04_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P04_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P04_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P04_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P04_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P04_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P04_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P04_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s04_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s05.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P05_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P05_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P05_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P05_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P05_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P05_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P05_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P05_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s05_task-faceFO_eeg.set');
      
diary 'sourcedata/eeg/sub-s06.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P06_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P06_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P06_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P06_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P06_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P06_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P06_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P06_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s06_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s07.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P07_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P07_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P07_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P07_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P07_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P07_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P07_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P07_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s07_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s08.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P08_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P08_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P08_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P08_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P08_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P08_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P08_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P08_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s08_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s09.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P09_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P09_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P09_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P09_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P09_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P09_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P09_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P09_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s09_task-faceFO_eeg.set');

diary 'sourcedata/eeg/sub-s10.log';
%% CHECK FOR OUTPUT PATH AND CRETAE IF NECESSARY
eeg_init({'sourcedata/eeg/IC_trn_P10_F_1.bdf', ...
          'sourcedata/eeg/IC_trn_P10_F_2.bdf', ...
          'sourcedata/eeg/IC_trn_P10_F_3.bdf', ...
          'sourcedata/eeg/IC_trn_P10_F_4.bdf', ...
          'sourcedata/eeg/IC_trn_P10_O_1.bdf', ...
          'sourcedata/eeg/IC_trn_P10_O_2.bdf', ...
          'sourcedata/eeg/IC_trn_P10_O_3.bdf', ...
          'sourcedata/eeg/IC_trn_P10_O_4.bdf'}, ...
          'sourcedata/eeg/sub-s10_task-faceFO_eeg.set');

disp('Done!');